<?php if (!defined('THINK_PATH')) exit(); /*a:7:{s:34:"themes/guolvqi/portal\product.html";i:1528794956;s:83:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\base.html";i:1526978336;s:85:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\header.html";i:1528795623;s:88:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\searchbar.html";i:1526867172;s:84:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\left2.html";i:1526981485;s:87:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\position.html";i:1527059811;s:85:"E:\phpworkspace\huyang\lvqingqi\php\ThinkCMF\public\themes\guolvqi\public\footer.html";i:1528876696;}*/ ?>
<!doctype html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $category['name']; ?> <?php echo $category['seo_title']; ?> <?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?></title>
<meta name="keywords" content="<?php echo $category['seo_keywords']; ?>,<?php echo (isset($site_info['site_seo_keywords']) && ($site_info['site_seo_keywords'] !== '')?$site_info['site_seo_keywords']:''); ?>"/>
<meta name="description" content="<?php echo $category['seo_description']; ?>,<?php echo (isset($site_info['site_seo_description']) && ($site_info['site_seo_description'] !== '')?$site_info['site_seo_description']:''); ?>">
<link href="/themes/guolvqi/templates/default/css/style.css"  rel="stylesheet">
<script src="/themes/guolvqi/templates/default/js/jquery.js" ></script>
<script src="/themes/guolvqi/templates/default/js/dtlb.js" ></script>
<script src="/themes/guolvqi/templates/default/js/cpczjz.js"></script>
<script src="/themes/guolvqi/templates/default/js/jquery.superslide2.js" ></script>

<script src="/themes/guolvqi/templates/default/js/jquery.min.js" ></script>
<script src="/themes/guolvqi/templates/default/js/gotop.js" ></script>

</head>
<body leftmargin=0 topmargin=0 oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false' onmouseup='document.selection.empty()'>
<div id="iheader">
  <div class="iheader_jz">
    <div class="tel_sy" > <span><img src="/themes/guolvqi/templates/default/images/toptel.jpg"   alt="咨询热线" /></span> </div>
    <div class="logo" valign="top">
      <h1><a href="/"  title=""><img src="/themes/guolvqi/templates/default/images/logo.jpg" alt="" /></a></h1>
    </div>
  </div>
</div>
<nav>
	<div class="menu">
	      <!--后台导航 id 为1-->
		<?php

function __parse_navigationf734413c4bffd9a8e1788672df7c89b3($menus,$level=1){
$_parse_navigation_func_name = '__parse_navigationf734413c4bffd9a8e1788672df7c89b3';
if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): if( count($menus)==0 ) : echo "" ;else: foreach($menus as $key=>$menu): if(empty($menu['children'])): ?>
    <li class="">
    
		        <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>"><?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?></a>
		    
    </li>
<?php endif; if(!empty($menu['children'])): ?>
    <li class="dropdown dropdown-custom dropdown-custom-level-<?php echo $level; ?>">
        
		        <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" class="dropdown-toggle dropdown-toggle-<?php echo $level; ?>" data-toggle="dropdown">
		            <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?><span class="caret"></span>
		        </a>
		    
        <ul class="nav_sub ">
            <?php 
            $mLevel=$level+1;
             ?>
            <?php echo $_parse_navigation_func_name($menu['children'],$mLevel); ?>
        </ul>
    </li>
<?php endif; endforeach; endif; else: echo "" ;endif; 
}

    $navMenuModel = new \app\admin\model\NavMenuModel();
    $menus = $navMenuModel->navMenusTreeArray('1',0);
if('ul'==''): ?>
    <?php echo __parse_navigationf734413c4bffd9a8e1788672df7c89b3($menus); else: ?>
    <ul id="top-nav" class="nav navbar-nav">
        <?php echo __parse_navigationf734413c4bffd9a8e1788672df7c89b3($menus); ?>
    </ul>
<?php endif; ?>

	</div>
</nav> 


<!-- 代码 开始 -->
<!-- <div class="banner" id="flashs">
	<?php if(isset($theme_vars['banner'])): if(is_array($theme_vars['banner']) || $theme_vars['banner'] instanceof \think\Collection || $theme_vars['banner'] instanceof \think\Paginator): $i = 0; $__LIST__ = $theme_vars['banner'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
			<div class="bgitem" style="background-image:url(upload/<?php echo $vo['img']; ?>)"; title="<?php echo $vo['remark']; ?>" id="flashbg<?php echo $key; ?>"></div>
		<?php endforeach; endif; else: echo "" ;endif; endif; ?>
  	<div class="banner_ctrl"> <a href="javascript:void(0);" class="prev"></a> <a href="javascript:void(0);" class="next"></a> </div>
</div> -->
<!-- 代码 结束 -->
<!-- 代码 开始 -->
<div class="banner" id="flashs">
				<div class="bgitem" style="background-image:url(/upload/admin/20180518/614e03223bc319d368e7334d0cd9b741.jpg)"; title="1" id="flashbg0"></div>
					<div class="bgitem" style="background-image:url(/upload/admin/20180518/d76a998c3c23d74d571caeb20b73d193.jpg)"; title="2" id="flashbg1"></div>
					<div class="bgitem" style="background-image:url(/upload/admin/20180518/52fadc11b9552d89da146d6dda8fb1e3.jpg)"; title="3" id="flashbg2"></div>
		  	<div class="banner_ctrl"> <a href="javascript:void(0);" class="prev"></a> <a href="javascript:void(0);" class="next"></a> </div>
</div>
<!-- 代码 结束 -->

<div class="juzhong_sy">
  <div class="topnav">
    <div class="tel">
     <div class="fl hotSea fs14 font_w">
			<span class="fb">热门搜索：</span>
			<a href="#"  title="互换进口滤芯">互换进口滤芯</a>
			<a href="#"  title="液压润滑滤芯">液压润滑滤芯</a>
			<a href="#"  title="精密滤芯">精密滤芯</a>
	</div>
    </div>
    <div id="search_sy">
      <form action="<?php echo url('portal/search/index'); ?>" method="post" name="formSeach" id="formSeach" onsubmit="Seach()">
        <input type="hidden" name="mod" value="search">
        <input name="keyword" type="text" class="input_text" value="关键词" onfocus="if(this.value=='关键词'){this.value='';}"  onblur="if(this.value==''){this.value='关键词';}" />
        <input type="submit" value="" class="btn_search" onclick="doAdvancedSearchSubmit('')"/>
      </form>
    </div>
  </div>
</div>
<div id="imain1">
  <table cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td valign="top" id="ileft">
         <div class="flbk">
          	<div class="titlestyle"><p><a href="/" title="产品分类">产品分类</a></p>
      		<span>Product Category</span></div>
            <div class="nycpfllist">
				<?php
$portal_all_sub_categories_data = \app\portal\service\ApiService::allSubCategories(2,100);
 if(is_array($portal_all_sub_categories_data) || $portal_all_sub_categories_data instanceof \think\Collection || $portal_all_sub_categories_data instanceof \think\Paginator): $i = 0; $__LIST__ = $portal_all_sub_categories_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

				    <dl>
				        <dt>
				        	<a href="<?php echo url('portal/List/index',['id'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?></a>
				        </dt>
				    </dl>
				
<?php endforeach; endif; else: echo "" ;endif; ?>
    		</div>
          <div class="icontact_ny">

          <div class="titlestyle"><p><a href="lianxiwomen.html" tppabs="http://www.hndyjh.com/lianxiwomen.html" title="联系我们">联系我们</a></p>

      <span>Contact us</span></div>

            <div class="contactus_ny">
			  <p>联系人：<?php echo $site_info['site_linkman']; ?></p>
              <p>手机：<?php echo $site_info['site_mobile']; ?></p>
    		  <p>电话：<?php echo $site_info['site_phone']; ?></p>

            </div>

          </div>

        </div>

        <div class="flbk_db"> </div></td>
      <td valign="top" id="iright">
      	<!-- 面包屑 -->
      	<div class="place_ny">
  <div class="mbxdh">您现在的位置:
  <?php 
	/*当前文章分类 id*/
	$currentCid=input('cid')?input('cid'):input('id');
   ?>
	  <a href="/" title="网站首页">网站首页</a>
	  <?php
if(!empty($currentCid)){
    $__BREADCRUMB_ITEMS__ = \app\portal\service\ApiService::breadcrumb($currentCid,false);
if(is_array($__BREADCRUMB_ITEMS__) || $__BREADCRUMB_ITEMS__ instanceof \think\Collection || $__BREADCRUMB_ITEMS__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__BREADCRUMB_ITEMS__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    
		 » <a href="<?php echo url('portal/List/index',['id'=>$vo['id']]); ?>"><?php echo $vo['name']; ?></a>
	  
<?php endforeach; endif; else: echo "" ;endif; 
}
?>
	   » <?php echo $category['name']; ?>
  </div>
  <h2><?php echo $category['name']; ?><span></span></h2>
</div>
        <div class="containers">
            <div class="clear"></div>
            <div class="pro">              
            	<div class="iprolist">
       				
       				<?php $category_ids = input('id');
	       				if($category_ids==2){
	       					$category_ids = [5,6,7,8,9,10,11,12,13,14];
	       				}
       				
	             		$where = 1;
	              	 
$articles_data = \app\portal\service\ApiService::articles([
    'field'   => '',
    'where'   => $where,
    'limit'   => '',
    'order'   => 'post.post_order desc,post.published_time DESC',
    'page'    => '16',
    'relation'=> 'categories',
    'category_ids'=>$category_ids
]);

$__PAGE_VAR_NAME__ = isset($articles_data['page'])?$articles_data['page']:'';

 if(is_array($articles_data['articles']) || $articles_data['articles'] instanceof \think\Collection || $articles_data['articles'] instanceof \think\Paginator): $i = 0; $__LIST__ = $articles_data['articles'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

				        <div class="procn00" >
					      <h3><a href="<?php echo url('portal/Article/index',array('cid'=>$vo['category_id'],'id'=>$vo['id'])); ?>"  title="<?php echo $vo['post_title']; ?>" rel="nofollow">
					      	<?php if(!(empty($vo['more']['thumbnail']) || (($vo['more']['thumbnail'] instanceof \think\Collection || $vo['more']['thumbnail'] instanceof \think\Paginator ) && $vo['more']['thumbnail']->isEmpty()))): ?>
							   <img src=" <?php echo cmf_get_image_url($vo['more']['thumbnail']); ?>" style='max-width:210px;max-height:170px;'/>
							<?php endif; ?>
							</a>
					      </h3>
					      <p><a href="<?php echo url('portal/Article/index',array('cid'=>$vo['category_id'],'id'=>$vo['id'])); ?>"  title="<?php echo $vo['post_title']; ?>"><?php echo $vo['post_title']; ?></a></p>
					    </div>
				    
<?php endforeach; endif; else: echo "" ;endif; ?>
				    
          		</div>
          		<ul class="pagination">
				    <?php
     echo empty($__PAGE_VAR_NAME__)?'':$__PAGE_VAR_NAME__;
 ?>
				</ul>
                <div class="clear"></div>
            </div>
            <div class="clear" style="height:10px;"></div>
        </div>
        <div class="bottom"></div></td>
    </tr>
  </table>
</div>
﻿<div class="clear" style="height:20px;"></div>
﻿<div id="ifooter">
	
	<?php 
		$controller = request()->controller();
	 ?>
	
	<div class="link">
	<?php if($controller == 'Index'): ?>
	  <div class="link_left">友情链接</div>
	  <div class="link_right">
	  	 <?php
     $__LINKS__ = \app\admin\service\ApiService::links();
if(is_array($__LINKS__) || $__LINKS__ instanceof \think\Collection || $__LINKS__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LINKS__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

            <a href="<?php echo (isset($vo['url']) && ($vo['url'] !== '')?$vo['url']:''); ?>" target="<?php echo (isset($vo['target']) && ($vo['target'] !== '')?$vo['target']:''); ?>"><?php echo (isset($vo['name']) && ($vo['name'] !== '')?$vo['name']:''); ?></a>&nbsp;
     	
<?php endforeach; endif; else: echo "" ;endif; ?>
	  </div>
	<?php endif; ?>
	</div>
	
	<div class="ifootnav">
		<!--后台导航 id 为1-->
		<?php

function __parse_navigationd09d007062b2918e8c880fd1191ef8cc($menus,$level=1){
$_parse_navigation_func_name = '__parse_navigationd09d007062b2918e8c880fd1191ef8cc';
if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): if( count($menus)==0 ) : echo "" ;else: foreach($menus as $key=>$menu): if(empty($menu['children'])): ?>
    
		        <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>"><?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?></a><span>|</span>
		    
<?php endif; endforeach; endif; else: echo "" ;endif; 
}

    $navMenuModel = new \app\admin\model\NavMenuModel();
    $menus = $navMenuModel->navMenusTreeArray('2',0);
if(''==''): ?>
    <?php echo __parse_navigationd09d007062b2918e8c880fd1191ef8cc($menus); else: ?>
    < id="top-nav" class="nav navbar-nav">
        <?php echo __parse_navigationd09d007062b2918e8c880fd1191ef8cc($menus); ?>
    </>
<?php endif; ?>

	</div>
	<div class="copyright">
	版权所有 Copyright © 2018-2019<?php echo $site_info['site_name']; ?>&nbsp;&nbsp;技术支持：<a href='http://www.huyang1688.com'>胡杨网络</a>&nbsp;&nbsp;<a href='/admin' target='_blank'>后台管理</a> 
	</div> 
</div>

<script>
$(function() {
	// 悬浮窗口
	$(".yb_conct").hover(function() {
		$(".yb_conct").css("right", "5px");
		$(".yb_bar .yb_ercode").css('height', '200px');
	}, function() {
		$(".yb_conct").css("right", "-127px");
		$(".yb_bar .yb_ercode").css('height', '53px');
	});
	// 返回顶部
	$(".yb_top").click(function() {
		$("html,body").animate({
			'scrollTop': '0px'
		}, 300)
	});
});
</script>
<div class="yb_conct" style="right: -127px;">
  <div class="yb_bar">
    <ul>
      <li class="yb_top">返回顶部</li>
      <li class="yb_phone"><?php echo $site_info['site_phone']; ?></li>      
      <li class="yb_QQ"> <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $site_info['site_qq']; ?>&site=qq&menu=yes" title="qq">在线咨询</a> </li>
      <li class="yb_ercode" >手机打开网站 <br>
        <img class="hd_qr" src="/themes/guolvqi/templates/default/images/ewm.png" alt="微信" > </li>
    </ul>
  </div>
</div>



</body>

</html>

